//
//  HomeHeadCell.swift
//  ProjectApp
//
//  Created by 邹琳 on 2019/7/24.
//  Copyright © 2019 邹琳. All rights reserved.
//

import UIKit

class HomeHeadCell: BaseTableViewCell {
    
    let homeHeaderView: HomeHeaderView = {
        let temp = HomeHeaderView.createFromNib()!
        return temp
    }()
    
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        
        self.addSubview(homeHeaderView)
        
        self.homeHeaderView.snp.makeConstraints { (make) in
            make.left.right.bottom.top.equalTo(self)
        }
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
